package com.example.viewweb;

import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;

public class CustomProgressDialog extends ProgressDialog{  
  
    public CustomProgressDialog(Context context) {  
        super(context);  
    }  
      
    public CustomProgressDialog(Context context, int theme) {  
        super(context, theme);  
    }  
  
    @Override  
    protected void onCreate(Bundle savedInstanceState) {  
        super.onCreate(savedInstanceState);  
        setContentView(R.layout.process);  
    }  
      
    public static CustomProgressDialog show(Context ctx){  
        CustomProgressDialog d = new CustomProgressDialog(ctx);  
        d.show();  
        return d;  
    }  
  /*  public static void cancel(CustomProgressDialog d){  
         d.cancel();
    }*/  
}  

